inherited frmDynamicEditFormSet_EditMst: TfrmDynamicEditFormSet_EditMst
  Left = 330
  Top = 149
  Anchors = [akLeft, akTop, akRight, akBottom]
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = #21160#24577#31383#20307#24067#23616#35774#32622
  ClientHeight = 521
  ClientWidth = 984
  ExplicitTop = -1
  ExplicitWidth = 1000
  ExplicitHeight = 560
  PixelsPerInch = 96
  TextHeight = 12
  inherited pnlBottom: TPanel
    Top = 461
    Width = 984
    TabOrder = 3
    ExplicitTop = 390
    ExplicitWidth = 984
    inherited Bevel1: TBevel
      Width = 984
      ExplicitWidth = 890
    end
    inherited btnOK: TBitBtn
      Left = 797
      Top = 20
      ModalResult = 0
      ExplicitLeft = 797
      ExplicitTop = 20
    end
    inherited btnCancel: TBitBtn
      Left = 887
      Top = 20
      ExplicitLeft = 887
      ExplicitTop = 20
    end
    inherited btnContinue: TBitBtn
      Top = 20
      ExplicitTop = 20
    end
    inherited btnBaseEditSave: TBitBtn
      Left = 542
      Top = 20
      TabOrder = 7
      ExplicitLeft = 542
      ExplicitTop = 20
    end
    object btnBackup: TBitBtn
      Left = 196
      Top = 20
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #24067#23616#22791#20221
      Glyph.Data = {
        36050000424D3605000000000000360400002800000010000000100000000100
        080000000000000100000000000000000000000100000001000000000000BC5D
        3200D15F2A00DC6F3200DE703200DA743400D4783B00F4723300BD774B00AA72
        5900A97F6D00D8744700EB794400E3823A00E6833B00E1863E00F8843C00BC80
        5B00BF8A5B00BA8A6300B99A6D00AC897900B48A7100B5907800F98F4000FF8D
        4000FE894F00E5924200E1994800ED9E4A00FF924500FF944600F29D4600F999
        4600FF8D5300E8975C00F39D5800E1A24D00F8A24800FEA24900FFA74F00FFAB
        4C00FFAD4D00F8B14F00FFA85000F3B55500FAB15400FABB5300F9BD5B00FEAD
        6200FFAF6400FDA37A00FEA47A00EECB5F00FEC35700F7C35E00FEC15F00FDC8
        5900FECF5C00FED15D00FFD45F00FFCA6500FFCF6900F7D36400FED76100FFDC
        6200FFDF6400FDDA7000FFE26500FAE76900FDE37500FFEA7B00FDEF7800FFF0
        7F00B2938000D79C8100E7B18E00FEBE8600E9B69F00FEF18000FEF68300FEFA
        8100FFFB8700FFFC8800FAC1A800FEC3A800F3CBAE00FCD2AF00FED4B000F4DD
        D200FBE0D400FDE1D500F8E5D800FDE9D800FDF6F300FEF9F500000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000595959595959
        5959595959595959595959595959595959595959595959595959595959595913
        1D2B4535145959595959595959591B2F3A4051483F25595959595959590F2B3B
        4244535046371C595959595908203A424244535150432D12595959590526363A
        3B3B50494843301B595959590518262929293E3E3D382E1B595959590F1F2727
        2E2C1F1F1E1E1003595959590F21313131312222221A07025959595906244D4D
        4D4D343434340C01595959594A2357585858555555540B59595959595911565D
        5D5D5B5B5B4E09595959595959594A4C5B5F5E594B1559595959595959595959
        59160A5959595959595959595959595959595959595959595959}
      TabOrder = 3
      OnClick = btnBackupClick
    end
    object btnGlobal: TBitBtn
      Left = 384
      Top = 20
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #20840#23616#24212#29992
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00500000000055
        555557777777775F55550FFFFFFFFF0555557F5555555F7FFF5F0FEEEEEE0000
        05007F555555777775770FFFFFF0BFBFB00E7F5F5557FFF557770F0EEEE000FB
        FB0E7F75FF57775555770FF00F0FBFBFBF0E7F57757FFFF555770FE0B00000FB
        FB0E7F575777775555770FFF0FBFBFBFBF0E7F5575FFFFFFF5770FEEE0000000
        FB0E7F555777777755770FFFFF0B00BFB0007F55557577FFF7770FEEEEE0B000
        05557F555557577775550FFFFFFF0B0555557FF5F5F57575F55500F0F0F0F0B0
        555577F7F7F7F7F75F5550707070700B055557F7F7F7F7757FF5507070707050
        9055575757575757775505050505055505557575757575557555}
      NumGlyphs = 2
      TabOrder = 4
      Visible = False
      OnClick = btnGlobalClick
    end
    object btnRecover: TBitBtn
      Left = 101
      Top = 20
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #24674#22797#40664#35748#24067#23616
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000C8C8C8C8C8C8
        0B0B0B6767673F3F3F111111000000C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C82F2F2FF9F9F9FFFFFFE5E5E5B4B4B480
        8080474747171717000000C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        5D5D5DFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBEBEBB0B0B07070703939
        390F0F0F030303C8C8C8C8C8C8C8C8C8949494FFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEE0E0E02D2D2DC8C8C8C8C8C8080808
        D3D3D3FFFFFFFFFFFFFFFFFFFFFFFFF9F9F9FDFDFDFFFFFFFFFFFFFFFFFFFFFF
        FFD2D2D20C0C0CC8C8C8C8C8C82A2A2AF2F2F2ECECECF2F2F2FAFAFAFEFEFEE1
        E0E0F5F4F2FFFFFFFFFFFFFFFFFFFFFFFF797979C8C8C8C8C8C8C8C8C85D5D5D
        FFFFFFD9D9D9D4D4D4DADADAE4E3E2ABACAF83A5CAC9D9F2FFFCF9FFFFFFF5F5
        F52D2D2DC8C8C8C8C8C8C8C8C88B8B8BFFFFFFD9D9D9D5D5D5D2D2D2D0CFCED5
        D4D35AB8EF2F99F3A9B4D0FFFEF8C8C8C8030303C8C8C8C8C8C8000000BBBBBB
        F2F2F2D3D3D3CFCFCFD2D2D2D9D9D9DAD6D4B3CED356D0F63BA8EEBECBEC817C
        78C8C8C8C8C8C8C8C8C8141414E2E2E2D7D7D7CECECED3D3D3CFCFCFD7D7D7D1
        D1D1D7D0CED3E1E06BE1F83BB4FA435479C8C8C8C8C8C8C8C8C83C3C3CF4F4F4
        D2D2D2CBCBCBCDCDCDD1D1D1C7C7C7D1D1D1C9CACAD0CAC9D2E1DF84F0FF3FB3
        F350688EC8C8C8C8C8C8707070FFFFFFDEDEDED7D7D7CECECEC2C2C2CFCFCFCD
        CDCDC5C5C5D2D2D2F6F3F2A8AFAC65CBD940BBF963788FC8C8C89C9C9CFBFBFB
        F8F8F8F8F8F8F5F5F5EBEBEBDADADAD3D3D3CCCCCCE1E1E1F1F1F13430305063
        629ED8DFACAFC25D5C76909090B1B1B1B8B8B8C8C8C8D7D7D7E5E5E5F4F4F4F5
        F5F5F2F2F2FFFFFFBBBBBB000000C8C8C875726D8C8BC77676C4C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8AAAAAAAFAFAFBCBCBCCCCCCCEAEAEA717171C8C8C8C8C8
        C8C8C8C86161726C6C81C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8}
      TabOrder = 5
      OnClick = btnRecoverClick
    end
    object btnRestore: TBitBtn
      Left = 289
      Top = 20
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #24067#23616#24674#22797
      Glyph.Data = {
        36050000424D3605000000000000360400002800000010000000100000000100
        0800000000000001000000000000000000000001000000010000000000004A5F
        B2006171AF00637ABB00707DB0001A3FCB000D3BE600355DCB001550EF001E56
        E800144BF200144CF3001C5EF8002B54EA002053FF002B58FC001E60FA002062
        F400296EF4002B66FF002A77F4002370F8002571FB002F7BFE00377DF6003070
        FF003572FF003977FF00357BFF00377CFF003A79FF004769C7004673CB005577
        C1004370FF004774FF004178FA00427FFE006C81BC007688B8003182F3003781
        FF003D83FF003E8EFE003E90FF003E9CFE005F89C1004087FF00418BFF00428D
        FF00448DFF004399FF004499FF005492FF005795FF005896FF007188E0006C8F
        FF006F91FF007D9DF2004BABF7004BA2FF004CA6FF004AA8FF004BAFFF004FAD
        FF0051AEFF0052B2FF0054B6FF0056B9FF0050BEFF0059B9FF0058BDFF005DBF
        FF007AA9FF005AC0FF005DC0FF0059C8FF0062CFFF0064CDFF0068DAFF006FE2
        FF006AE6FF0074EAFF0075ECFF0075F6FF0078F2FF007CF8FF007DFCFF008EA4
        F20099B1FE009EB5FF009EBBFB00A3C3FF00A7C6FF00CAD4F800CDD9FE00D1DE
        FC00D2E2FF00F2F5FE0000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        00000000000000000000000000000000000000000000000000005F5F5F5F5F5F
        5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F21
        182B4D3C2E5F5F5F5F5F5F5F5F5F12334144555246285F5F5F5F5F5F5F112C42
        484B58565041145F5F5F5F5F07173E46484B5858534E2D205F5F5F5F08293E42
        42445353524F3E155F5F5F5F0B192A3030304B49484234155F5F5F5F101D2F30
        30321E1E1B1B130B5F5F5F5F0C1D35373737232323220E065F5F5F5F09254A4A
        4A4A3A3A3A390F055F5F5F5F27255D5E5E5E5B5B5B5A0D5F5F5F5F5F5F1F5C62
        626261606059015F5F5F5F5F5F5F263B6163636038045F5F5F5F5F5F5F5F5F5F
        5F03025F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F}
      TabOrder = 6
      OnClick = btnRestoreClick
    end
  end
  object pnlMain: TPanel [1]
    Left = 0
    Top = 0
    Width = 984
    Height = 461
    Align = alClient
    BevelOuter = bvNone
    BorderWidth = 5
    TabOrder = 0
    ExplicitHeight = 390
    object cxPageControl1: TcxPageControl
      Left = 5
      Top = 5
      Width = 974
      Height = 406
      Align = alClient
      TabOrder = 0
      Properties.ActivePage = tabBill
      Properties.CustomButtons.Buttons = <>
      OnChange = cxPageControl1Change
      ExplicitHeight = 335
      ClientRectBottom = 402
      ClientRectLeft = 4
      ClientRectRight = 970
      ClientRectTop = 24
      object tabBill: TcxTabSheet
        Caption = #21333#25454
        ImageIndex = 0
        ExplicitHeight = 307
        DesignSize = (
          966
          378)
        object cxGridUser: TcxGrid
          Left = 342
          Top = 0
          Width = 240
          Height = 336
          Anchors = [akLeft, akTop, akBottom]
          TabOrder = 0
          OnEnter = cxGridUserEnter
          ExplicitHeight = 265
          object ViewUser: TcxGridDBTableView
            OnMouseDown = ViewUserMouseDown
            Navigator.Buttons.CustomButtons = <>
            DataController.DataModeController.GridMode = True
            DataController.DataSource = dsDynUser
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsData.Appending = True
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            Styles.Background = MainDM.bslBackGroup
            Styles.ContentEven = MainDM.bsEven
            Styles.ContentOdd = MainDM.bsOdd
            Styles.Footer = MainDM.bsTitle
            Styles.Header = MainDM.bsTitle
            Styles.Selection = MainDM.bsSelect
            object ViewUserID: TcxGridDBColumn
              DataBinding.FieldName = 'userid'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.GridMode = True
              Properties.ImmediatePost = True
              Properties.KeyFieldNames = 'ui_userid'
              Properties.ListColumns = <
                item
                  Caption = #29992#25143#32534#30721
                  FieldName = 'ui_usercode'
                end
                item
                  Caption = #29992#25143#21517#31216
                  FieldName = 'ui_username'
                end>
              Properties.ListOptions.SyncMode = True
              HeaderAlignmentHorz = taCenter
              Width = 160
            end
          end
          object cxGridUserLevel1: TcxGridLevel
            GridView = ViewUser
          end
        end
        object cxDBTextEdit1: TcxDBTextEdit
          Left = 84
          Top = 48
          DataBinding.DataField = 'ET_FormCaption'
          DataBinding.DataSource = MainDataSource
          TabOrder = 3
          Width = 121
        end
        object cxLabel1: TcxLabel
          Left = 20
          Top = 50
          Caption = #21333#25454#21517#31216
          Transparent = True
        end
        object cxDBCheckBox1: TcxDBCheckBox
          Left = 16
          Top = 376
          Caption = #25171#24320#31383#20307#26102#21363#26174#31034#25968#25454
          DataBinding.DataField = 'ET_ISInitOpenData'
          DataBinding.DataSource = MainDataSource
          TabOrder = 20
          Transparent = True
          Visible = False
        end
        object cxLabel2: TcxLabel
          Left = 20
          Top = 22
          Caption = #24067#23616#21517#31216
          Transparent = True
        end
        object cxDBTextEdit2: TcxDBTextEdit
          Left = 84
          Top = 20
          DataBinding.DataField = 'ET_LayoutName'
          DataBinding.DataSource = MainDataSource
          TabOrder = 1
          Width = 121
        end
        object lblCheck: TcxLabel
          Left = 20
          Top = 84
          Caption = #23457#27605#22352#26631'  '#24038'                  '#39030
          Transparent = True
        end
        object lblAbate: TcxLabel
          Left = 20
          Top = 114
          Caption = #20316#24223#22352#26631'  '#24038'                  '#39030
          Transparent = True
        end
        object edtCheckLeft: TcxSpinEdit
          Left = 100
          Top = 82
          TabOrder = 4
          Width = 70
        end
        object edtCheckTop: TcxSpinEdit
          Left = 220
          Top = 82
          TabOrder = 5
          Width = 70
        end
        object edtAbateLeft: TcxSpinEdit
          Left = 100
          Top = 112
          TabOrder = 6
          Width = 70
        end
        object edtAbateTop: TcxSpinEdit
          Left = 220
          Top = 112
          TabOrder = 7
          Width = 70
        end
        object edtDtlRowHeight: TcxSpinEdit
          Left = 100
          Top = 204
          TabOrder = 11
          Width = 70
        end
        object lblDtlRowHeight: TcxLabel
          Left = 20
          Top = 206
          Caption = #26126#32454#34892#39640
          Transparent = True
        end
        object lblDtlFontSize: TcxLabel
          Left = 20
          Top = 235
          Caption = #26126#32454#23383#20307
          Transparent = True
        end
        object edtDtlFontSize: TcxSpinEdit
          Left = 100
          Top = 233
          TabOrder = 12
          Width = 70
        end
        object chkAutoDtlRowHeight: TcxCheckBox
          Left = 192
          Top = 201
          Caption = #34892#39640#33258#36866#24212#22270#29255
          TabOrder = 10
          Transparent = True
        end
        object lblMstFontSize: TcxLabel
          Left = 20
          Top = 147
          Caption = #21333#25454#23383#20307
          Transparent = True
        end
        object edtMstFontSize: TcxSpinEdit
          Left = 100
          Top = 145
          TabOrder = 8
          Width = 70
        end
        object lblMstColNum: TcxLabel
          Left = 20
          Top = 176
          Caption = #21333#25454#21015#25968
          Transparent = True
        end
        object edtMstColNum: TcxSpinEdit
          Left = 100
          Top = 174
          Properties.MaxValue = 6.000000000000000000
          Properties.MinValue = 4.000000000000000000
          TabOrder = 9
          Value = 4
          Width = 70
        end
        object chkProductGather: TcxCheckBox
          Left = 16
          Top = 290
          Caption = #26174#31034#36135#21697#26126#32454#27719#24635
          Properties.OnChange = chkProductGatherPropertiesChange
          TabOrder = 21
          Transparent = True
        end
        object chkBatchGather: TcxCheckBox
          Left = 40
          Top = 308
          Caption = #25353#25209#27425#25209#21495#27719#24635
          Enabled = False
          TabOrder = 22
          Transparent = True
        end
        object chkProductBarcode: TcxCheckBox
          Left = 16
          Top = 347
          Caption = #36135#21697#26465#30721#24555#36895#36755#20837'(F10)'
          TabOrder = 23
          Transparent = True
        end
        object btnNewOperator: TcxButton
          Left = 342
          Top = 347
          Width = 90
          Height = 25
          Anchors = [akLeft, akBottom]
          Caption = #26032#22686#25805#20316#21592
          TabOrder = 24
          OnClick = btnNewOperatorClick
          ExplicitTop = 276
        end
        object btnDelOperator: TcxButton
          Left = 492
          Top = 347
          Width = 90
          Height = 25
          Anchors = [akLeft, akBottom]
          Caption = #21024#38500#25805#20316#21592
          TabOrder = 25
          OnClick = btnDelOperatorClick
          ExplicitTop = 276
        end
        object edtDtlPicture: TcxComboBox
          Left = 100
          Top = 262
          Properties.ImmediatePost = True
          Properties.OnValidate = edtDtlPicturePropertiesValidate
          TabOrder = 26
          Text = 'edtDtlPicture'
          Width = 121
        end
        object lblDtlPicture: TcxLabel
          Left = 20
          Top = 264
          Caption = #21333#25454#22270#29255#26684#24335
          Transparent = True
        end
        object edtQtyCount: TcxSpinEdit
          Left = 135
          Top = 327
          Enabled = False
          TabOrder = 28
          Width = 40
        end
        object lblQtyCount: TcxLabel
          Left = 43
          Top = 329
          Caption = #21516#36135#21697#27719#24635#21015#25968
          Enabled = False
          Transparent = True
        end
        object chkAssQtyCount: TcxCheckBox
          Left = 180
          Top = 326
          Caption = #36741#21161#25968#37327#36716#25442#21015
          Enabled = False
          TabOrder = 30
          Transparent = True
        end
        object btnNewUserGroup: TcxButton
          Left = 630
          Top = 347
          Width = 90
          Height = 25
          Anchors = [akLeft, akBottom]
          Caption = #26032#22686#25805#20316#21592#32452
          TabOrder = 31
          OnClick = btnNewUserGroupClick
          ExplicitTop = 276
        end
        object btnDelUserGroup: TcxButton
          Left = 780
          Top = 347
          Width = 90
          Height = 25
          Anchors = [akLeft, akBottom]
          Caption = #21024#38500#25805#20316#21592#32452
          TabOrder = 32
          OnClick = btnDelUserGroupClick
          ExplicitTop = 276
        end
        object grdUserGroup: TcxGrid
          Left = 630
          Top = 0
          Width = 240
          Height = 336
          Anchors = [akLeft, akTop, akBottom]
          TabOrder = 33
          OnEnter = cxGridUserEnter
          ExplicitHeight = 265
          object viewUserGroup: TcxGridDBTableView
            OnMouseDown = viewUserGroupMouseDown
            Navigator.Buttons.CustomButtons = <>
            DataController.DataModeController.GridMode = True
            DataController.DataSource = dsDynUserGroup
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsData.Appending = True
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            Styles.Background = MainDM.bslBackGroup
            Styles.ContentEven = MainDM.bsEven
            Styles.ContentOdd = MainDM.bsOdd
            Styles.Footer = MainDM.bsTitle
            Styles.Header = MainDM.bsTitle
            Styles.Selection = MainDM.bsSelect
            object colUserGroup: TcxGridDBColumn
              Caption = #25805#20316#21592#32452
              DataBinding.FieldName = 'groupid'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.GridMode = True
              Properties.ImmediatePost = True
              Properties.KeyFieldNames = 'ut_usergroupid'
              Properties.ListColumns = <
                item
                  FieldName = 'UT_UserGroupNM'
                end>
              Properties.ListOptions.SyncMode = True
              HeaderAlignmentHorz = taCenter
              Width = 160
            end
          end
          object lvlUserGroup: TcxGridLevel
            GridView = viewUserGroup
          end
        end
        object lblDefLayout: TcxLabel
          Left = 20
          Top = 370
          Caption = '    '#21333#25454#24067#23616#35745#31639#20844#24335#12289#31614#23383#23457#26680#12289#24341#29992#20851#31995#38656#35201#19982#40664#35748#24067#23616#21516#27493#65307#21333#25454#23457#26680#12289#29983#25104#19979#32423#21333#25454#37117#26159#20351#29992#40664#35748#24067#23616
          ParentColor = False
          ParentFont = False
          Style.Color = clBtnFace
          Style.Font.Charset = GB2312_CHARSET
          Style.Font.Color = clBlue
          Style.Font.Height = -12
          Style.Font.Name = #23435#20307
          Style.Font.Style = []
          Style.IsFontAssigned = True
          Properties.WordWrap = True
          Transparent = True
          Width = 292
        end
      end
      object tabBMst: TcxTabSheet
        Caption = #21333#25454#20307
        ImageIndex = 1
        OnShow = tabBMstShow
        ExplicitHeight = 307
        object cxGridMst: TcxGrid
          Left = 0
          Top = 0
          Width = 966
          Height = 378
          Align = alClient
          TabOrder = 0
          ExplicitHeight = 307
          object ViewMst: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            OnFocusedItemChanged = ViewMstFocusedItemChanged
            OnFocusedRecordChanged = ViewMstFocusedRecordChanged
            DataController.DataSource = dsDetail
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsData.Deleting = False
            OptionsData.Inserting = False
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            Styles.Background = MainDM.bslBackGroup
            Styles.ContentEven = MainDM.bsEven
            Styles.ContentOdd = MainDM.bsOdd
            Styles.Footer = MainDM.bsTitle
            Styles.Header = MainDM.bsTitle
            Styles.Selection = MainDM.bsSelect
            object ViewMstDT_Order: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Order'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_FieldCaption: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FieldCaption'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 65
            end
            object ViewMstDT_DataType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_DataType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.ImmediatePost = True
              Properties.Items.Strings = (
                #26085#26399#22411
                #26085#26399#26102#38388#22411
                #26102#38388#22411
                #23383#31526#22411
                #25972#22411
                #30495#20551#22411
                #25968#20540#22411
                #37329#39069#22411
                #20215#26684#22411)
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
            object ViewMstDT_ISShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISShow'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_ISNotNULL: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISNotNULL'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_ISFullCol: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISFullCol'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_ColWidth: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ColWidth'
              HeaderAlignmentHorz = taCenter
              Width = 30
            end
            object ViewMstDT_LookupID: TcxGridDBColumn
              DataBinding.FieldName = 'DT_LookupID'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.DropDownWidth = 200
              Properties.ImmediatePost = True
              Properties.ListColumns = <>
              Properties.ListOptions.SyncMode = True
              Properties.Revertable = True
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 80
            end
            object ViewMstDT_LookupParams: TcxGridDBColumn
              DataBinding.FieldName = 'DT_LookupParams'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.GridMode = True
              Properties.ImmediatePost = True
              Properties.KeyFieldNames = 'relfield'
              Properties.ListColumns = <
                item
                  FieldName = 'dt_fieldcaption'
                end>
              Properties.ListOptions.ShowHeader = False
              Properties.ListOptions.SyncMode = True
              Properties.ListSource = dsLookupParam
              Properties.OnCloseUp = ViewDtlDT_LookupParamsPropertiesCloseUp
              Properties.OnPopup = ViewDtlDT_LookupParamsPropertiesPopup
              HeaderAlignmentHorz = taCenter
              Width = 60
            end
            object ViewMstDT_InputType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_InputType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #36873#25321
                #36755#20837
                #36755#20837#36873#25321)
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
            object ViewMstDT_FixCtrl: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FixCtrl'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #23457#26680#21518#19981#33021#20462#25913
                #23457#26680#21518#33021#20462#25913
                #34987#24341#29992#21518#19981#33021#20462#25913)
              HeaderAlignmentHorz = taCenter
              Width = 60
            end
            object ViewMstDT_ISReadOnly: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISReadOnly'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_Shadow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Shadow'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_Print: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Print'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_FindShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FindShow'
              FooterAlignmentHorz = taCenter
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewMstDT_FindColumnShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FindColumnShow'
              HeaderAlignmentHorz = taCenter
              Width = 40
            end
            object ViewMstDT_FilterFix: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterFix'
              HeaderHint = #22266#23450#26174#31034#26597#35810#26465#20214
              Width = 45
            end
            object ViewMstDT_FilterType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.ImmediatePost = True
              Properties.Items.Strings = (
                #26631#20934
                #26159#21542)
              HeaderHint = #26597#35810#31867#22411
              Width = 60
            end
            object ViewMstDT_FilterValue: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterValue'
              HeaderHint = #26597#35810#40664#35748#20540
              Width = 50
            end
            object ViewMstDT_BillReportShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_BillReportShow'
              HeaderAlignmentHorz = taCenter
            end
            object ViewMstDT_BillReportOrder: TcxGridDBColumn
              DataBinding.FieldName = 'DT_BillReportOrder'
              HeaderAlignmentHorz = taCenter
              Width = 30
            end
            object ViewMstDT_FooterType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FooterType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.Items.Strings = (
                #21512#35745
                #24179#22343
                #32479#35745
                #26368#22823
                #26368#23567)
              HeaderAlignmentHorz = taCenter
              Width = 55
            end
            object ViewMstDT_FieldType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FieldType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.Items.Strings = (
                #21333#25454#22836
                #21333#25454#23614)
              Width = 50
            end
            object ViewMstDT_GroupBy: TcxGridDBColumn
              DataBinding.FieldName = 'DT_GroupBy'
              Visible = False
              Width = 25
            end
            object ViewMstDT_DefValue: TcxGridDBColumn
              DataBinding.FieldName = 'DT_DefValue'
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
          end
          object cxGridMstLevel1: TcxGridLevel
            GridView = ViewMst
          end
        end
      end
      object tabBDtl: TcxTabSheet
        Caption = #21333#25454#26126#32454
        ImageIndex = 2
        OnShow = tabBDtlShow
        ExplicitHeight = 307
        object cxGridDtl: TcxGrid
          Left = 0
          Top = 0
          Width = 966
          Height = 378
          Align = alClient
          TabOrder = 0
          ExplicitHeight = 307
          object ViewDtl: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            OnFocusedItemChanged = ViewDtlFocusedItemChanged
            OnFocusedRecordChanged = ViewDtlFocusedRecordChanged
            DataController.DataSource = dsDetail
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            Styles.Background = MainDM.bslBackGroup
            Styles.ContentEven = MainDM.bsEven
            Styles.ContentOdd = MainDM.bsOdd
            Styles.Footer = MainDM.bsTitle
            Styles.Header = MainDM.bsTitle
            Styles.Selection = MainDM.bsSelect
            object ViewDtlDT_Order: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Order'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_FieldCaption: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FieldCaption'
              HeaderAlignmentHorz = taCenter
              Width = 80
            end
            object ViewDtlDT_DataType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_DataType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #26085#26399#22411
                #26085#26399#26102#38388#22411
                #26102#38388#22411
                #23383#31526#22411
                #25972#22411
                #30495#20551#22411
                #25968#20540#22411
                #37329#39069#22411
                #20215#26684#22411)
              Width = 50
            end
            object ViewDtlDT_ISShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISShow'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_ISNotNULL: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISNotNULL'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_LookupID: TcxGridDBColumn
              DataBinding.FieldName = 'DT_LookupID'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.DropDownWidth = 200
              Properties.ListColumns = <>
              HeaderAlignmentHorz = taCenter
              Width = 80
            end
            object ViewDtlDT_LookupParams: TcxGridDBColumn
              DataBinding.FieldName = 'DT_LookupParams'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.GridMode = True
              Properties.ImmediatePost = True
              Properties.KeyFieldNames = 'relfield'
              Properties.ListColumns = <
                item
                  Caption = #23383#27573
                  Width = 80
                  FieldName = 'dt_fieldcaption'
                end>
              Properties.ListOptions.ShowHeader = False
              Properties.ListOptions.SyncMode = True
              Properties.ListSource = dsLookupParam
              Properties.OnCloseUp = ViewDtlDT_LookupParamsPropertiesCloseUp
              Properties.OnPopup = ViewDtlDT_LookupParamsPropertiesPopup
              HeaderAlignmentHorz = taCenter
              Width = 60
            end
            object ViewDtlDT_InputType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_InputType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #36873#25321
                #36755#20837
                #36755#20837#36873#25321)
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
            object ViewDtlDT_FixCtrl: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FixCtrl'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #23457#26680#21518#19981#33021#20462#25913
                #23457#26680#21518#33021#20462#25913
                #34987#24341#29992#21518#19981#33021#20462#25913)
              HeaderAlignmentHorz = taCenter
              Width = 60
            end
            object ViewDtlDT_ISReadOnly: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ISReadOnly'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_ColWidth: TcxGridDBColumn
              DataBinding.FieldName = 'DT_ColWidth'
              HeaderAlignmentHorz = taCenter
              Width = 30
            end
            object ViewDtlDT_Fixed: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Fixed'
              HeaderAlignmentHorz = taCenter
              Width = 30
            end
            object ViewDtlDT_FooterType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FooterType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownSizeable = True
              Properties.Items.Strings = (
                #21512#35745
                #24179#22343
                #32479#35745
                #26368#22823
                #26368#23567)
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
            object ViewDtlDT_Print: TcxGridDBColumn
              DataBinding.FieldName = 'DT_Print'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_FindShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FindShow'
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_FindColumnShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FindColumnShow'
              HeaderAlignmentHorz = taCenter
              Width = 40
            end
            object ViewDtlDT_FilterFix: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterFix'
              HeaderHint = #22266#23450#26174#31034#26597#35810#26465#20214
              Width = 45
            end
            object ViewDtlDT_FilterType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsEditFixedList
              Properties.ImmediatePost = True
              Properties.Items.Strings = (
                #26631#20934
                #26159#21542)
              HeaderHint = #26597#35810#31867#22411
              Width = 60
            end
            object ViewDtlDT_FilterValue: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FilterValue'
              HeaderHint = #26597#35810#40664#35748#20540
              Width = 50
            end
            object ViewDtlDT_BillReportShow: TcxGridDBColumn
              DataBinding.FieldName = 'DT_BillReportShow'
              HeaderAlignmentHorz = taCenter
            end
            object ViewDtlDT_BillReportOrder: TcxGridDBColumn
              DataBinding.FieldName = 'DT_BillReportOrder'
              HeaderAlignmentHorz = taCenter
              Width = 30
            end
            object ViewDtlDT_GroupBy: TcxGridDBColumn
              DataBinding.FieldName = 'DT_GroupBy'
              Visible = False
              HeaderAlignmentHorz = taCenter
              Width = 25
            end
            object ViewDtlDT_DefValue: TcxGridDBColumn
              DataBinding.FieldName = 'DT_DefValue'
              HeaderAlignmentHorz = taCenter
              Width = 50
            end
            object ViewDtlDT_FieldType: TcxGridDBColumn
              DataBinding.FieldName = 'DT_FieldType'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.ImmediatePost = True
              Properties.Items.Strings = (
                #29289#26009#29256#26412
                #29289#26009#29256#26412#23614)
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
            end
          end
          object cxGridDtlLevel1: TcxGridLevel
            GridView = ViewDtl
          end
        end
      end
    end
    object pnlCalcExpress: TPanel
      Left = 5
      Top = 411
      Width = 974
      Height = 45
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 1
      Visible = False
      ExplicitTop = 340
      object cxLabel5: TcxLabel
        Left = 1
        Top = 9
        Caption = #33258#23450#20041#35745#31639#20844#24335
        Transparent = True
      end
      object edtFormula: TcxDBButtonEdit
        Left = 92
        Top = 6
        DataBinding.DataField = 'DT_CalcExpressShow'
        DataBinding.DataSource = dsDetail
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ReadOnly = True
        Properties.OnButtonClick = edtCalcExpressPropertiesButtonClick
        TabOrder = 0
        Width = 678
      end
      object cxLabel6: TcxLabel
        Left = 2
        Top = 30
        Caption = #25968#20540#22411#35745#31639#35831#20351#29992' '#33258#23450#20041'11~20'#12289'31~40'#65307'  '#23383#31526#20018#30456#21152#20351#29992' '#33258#23450#20041'1~10'#12289'21~30'
        ParentColor = False
        ParentFont = False
        Style.Color = clBtnFace
        Style.Font.Charset = GB2312_CHARSET
        Style.Font.Color = clBlue
        Style.Font.Height = -12
        Style.Font.Name = #23435#20307
        Style.Font.Style = []
        Style.IsFontAssigned = True
        Transparent = True
      end
    end
  end
  inherited btnPrint: TcxButton
    Left = 741
    Visible = False
    ExplicitLeft = 741
  end
  inherited edtPrint: TcxLookupComboBox
    Left = 813
    Visible = False
    ExplicitLeft = 813
    ExplicitHeight = 20
  end
  inherited MainDataSource: TDataSource
    DataSet = MainDataSet
    Left = 542
    Top = 211
  end
  inherited pmPrint: TPopupMenu
    Left = 724
  end
  object MainDataSet: TUniQuery
    SQLInsert.Strings = (
      'Insert into TS_DYNAMICEDITFORMMST(ET_EditFormID,'
      'ET_LayoutID,'
      'ET_LayoutName,'
      'ET_FormCaption,'
      'ET_FormType,'
      'ET_Menu_Auto_ID,'
      'ET_Table_Name,'
      'ET_DtlTableName,'
      'ET_Parent_EditForm_ID,'
      'ET_KeyFields,'
      'ET_CodeField,'
      'ET_LookupField,'
      'CREATE_TIME,'
      'CREATE_BY,'
      'ET_ISInitOpenData,'
      'ET_TableWhere,'
      'ET_GroupID'
      ')'
      'Values'
      '(:ET_EditFormID,'
      ':ET_LayoutID,'
      ':ET_LayoutName,'
      ':ET_FormCaption,'
      ':ET_FormType,'
      ':ET_Menu_Auto_ID,'
      ':ET_Table_Name,'
      ':ET_DtlTableName,'
      ':ET_Parent_EditForm_ID,'
      ':ET_KeyFields,'
      ':ET_CodeField,'
      ':ET_LookupField,'
      ':CREATE_TIME,'
      ':CREATE_BY,'
      ':ET_ISInitOpenData,'
      ':ET_TableWhere,'
      ':ET_GroupID)')
    SQLDelete.Strings = (
      
        'Delete from TS_DYNAMICEDITFORMMST where ET_EditFormID=:OLD_ET_Ed' +
        'itFormID and ET_LayoutID=:OLD_ET_LayoutID and ET_GroupID=:OLD_ET' +
        '_GroupID')
    SQLUpdate.Strings = (
      'Update TS_DYNAMICEDITFORMMST set '
      'ET_EditFormID=:ET_EditFormID,'
      'ET_LayoutID=:ET_LayoutID,'
      'ET_LayoutName=:ET_LayoutName,'
      'ET_FormCaption=:ET_FormCaption,'
      'ET_FormType=:ET_FormType,'
      'ET_Menu_Auto_ID=:ET_Menu_Auto_ID,'
      'ET_Table_Name=:ET_Table_Name,'
      'ET_DtlTableName=:ET_DtlTableName,'
      'ET_Parent_EditForm_ID=:ET_Parent_EditForm_ID,'
      'ET_KeyFields=:ET_KeyFields,'
      'ET_CodeField=:ET_CodeField,'
      'ET_LookupField=:ET_LookupField,'
      'CREATE_TIME=:CREATE_TIME,'
      'CREATE_BY=:CREATE_BY,'
      'ET_ISInitOpenData=:ET_ISInitOpenData,'
      'ET_TableWhere=:ET_TableWhere,'
      'ET_GroupID=:ET_GroupID'
      
        ' where ET_EditFormID=:OLD_ET_EditFormID and ET_LayoutID=:OLD_ET_' +
        'LayoutID and ET_GroupID=:OLD_ET_GroupID')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynamiceditformmst')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 544
    Top = 268
    object MainDataSetET_EditFormID: TIntegerField
      FieldName = 'ET_EditFormID'
    end
    object MainDataSetET_LayoutID: TIntegerField
      FieldName = 'ET_LayoutID'
    end
    object MainDataSetET_FormCaption: TWideStringField
      FieldName = 'ET_FormCaption'
      Size = 30
    end
    object MainDataSetET_FormType: TIntegerField
      FieldName = 'ET_FormType'
    end
    object MainDataSetET_Menu_Auto_ID: TIntegerField
      FieldName = 'ET_Menu_Auto_ID'
    end
    object MainDataSetET_Table_Name: TStringField
      FieldName = 'ET_Table_Name'
      Size = 50
    end
    object MainDataSetET_DtlTableName: TStringField
      FieldName = 'ET_DtlTableName'
      Size = 50
    end
    object MainDataSetET_Parent_EditForm_ID: TIntegerField
      FieldName = 'ET_Parent_EditForm_ID'
    end
    object MainDataSetET_KeyFields: TStringField
      FieldName = 'ET_KeyFields'
      Size = 200
    end
    object MainDataSetET_CodeField: TStringField
      FieldName = 'ET_CodeField'
      Size = 50
    end
    object MainDataSetET_LookupFiled: TStringField
      FieldName = 'ET_LookupField'
      Size = 50
    end
    object MainDataSetCREATE_TIME: TDateTimeField
      FieldName = 'CREATE_TIME'
    end
    object MainDataSetCREATE_BY: TIntegerField
      FieldName = 'CREATE_BY'
    end
    object MainDataSetET_ISInitOpenData: TBooleanField
      FieldName = 'ET_ISInitOpenData'
    end
    object MainDataSetET_LayoutName: TWideStringField
      FieldName = 'ET_LayoutName'
      Size = 30
    end
    object MainDataSetET_Groupid: TIntegerField
      FieldName = 'ET_Groupid'
    end
    object MainDataSetET_TableWhere: TStringField
      FieldName = 'ET_TableWhere'
      Size = 2000
    end
  end
  object qryDetail: TUniQuery
    SQLInsert.Strings = (
      'Insert into TS_DYNAMICEDITFORMDTL(DT_EditFormID,'
      'DT_LayoutID,'
      'DT_Index,'
      'DT_Order,'
      'DT_FieldType,'
      'DT_FieldName,'
      'DT_FieldCaption,'
      'DT_DataType,'
      'DT_ISShow,'
      'DT_ISNotNULL,'
      'DT_ISFullCol,'
      'DT_MustShow,'
      'DT_MustNotNull,'
      'DT_LookupID,'
      'DT_InputType,'
      'CREATETIME,'
      'DT_ISReadOnly,'
      'DT_LookupParams,'
      'DT_ColWidth,'
      'DT_ISLookupShow,'
      'DT_ISFindCondition,'
      'DT_Top,'
      'DT_Left,'
      'DT_Shadow,'
      'DT_Fixed,'
      'DT_FooterType,'
      'DT_Print,'
      'DT_FindShow,'
      'DT_OnlyFind,'
      'DT_GroupBy,'
      'DT_CalcExpressShow,'
      'DT_CalcExpress,'
      'DT_DefValue,'
      'DT_FixCtrl,'
      'DT_FindColumnShow,'
      'DT_BillReportShow,'
      'DT_BillReportOrder,'
      'DT_FilterFix,'
      'DT_FilterType,'
      'DT_FilterValue'
      ')'
      'Values'
      '(:DT_EditFormID,'
      ':DT_LayoutID,'
      ':DT_Index,'
      ':DT_Order,'
      ':DT_FieldType,'
      ':DT_FieldName,'
      ':DT_FieldCaption,'
      ':DT_DataType,'
      ':DT_ISShow,'
      ':DT_ISNotNULL,'
      ':DT_ISFullCol,'
      ':DT_MustShow,'
      ':DT_MustNotNull,'
      ':DT_LookupID,'
      ':DT_InputType,'
      ':CREATETIME,'
      ':DT_ISReadOnly,'
      ':DT_LookupParams,'
      ':DT_ColWidth,'
      ':DT_ISLookupShow,'
      ':DT_ISFindCondition,'
      ':DT_Top,'
      ':DT_Left,'
      ':DT_Shadow,'
      ':DT_Fixed,'
      ':DT_FooterType,'
      ':DT_Print,'
      ':DT_FindShow,'
      ':DT_OnlyFind,'
      ':DT_GroupBy,'
      ':DT_CalcExpressShow,'
      ':DT_CalcExpress,'
      ':DT_DefValue,'
      ':DT_FixCtrl,'
      ':DT_FindColumnShow,'
      ':DT_BillReportShow,'
      ':DT_BillReportOrder,'
      ':DT_FilterFix,'
      ':DT_FilterType,'
      ':DT_FilterValue)')
    SQLDelete.Strings = (
      
        'Delete from TS_DYNAMICEDITFORMDTL where DT_EditFormID=:OLD_DT_Ed' +
        'itFormID and DT_LayoutID=:OLD_DT_LayoutID '
      
        '  and DT_FieldType=:OLD_DT_FieldType and DT_FieldName=:OLD_DT_Fi' +
        'eldName')
    SQLUpdate.Strings = (
      'Update TS_DYNAMICEDITFORMDTL set '
      'DT_EditFormID=:DT_EditFormID,'
      'DT_LayoutID=:DT_LayoutID,'
      'DT_Index=:DT_Index,'
      'DT_Order=:DT_Order,'
      'DT_FieldType=:DT_FieldType,'
      'DT_FieldName=:DT_FieldName,'
      'DT_FieldCaption=:DT_FieldCaption,'
      'DT_DataType=:DT_DataType,'
      'DT_ISShow=:DT_ISShow,'
      'DT_ISNotNULL=:DT_ISNotNULL,'
      'DT_ISFullCol=:DT_ISFullCol,'
      'DT_MustShow=:DT_MustShow,'
      'DT_MustNotNull=:DT_MustNotNull,'
      'DT_LookupID=:DT_LookupID,'
      'DT_InputType=:DT_InputType,'
      'CREATETIME=:CREATETIME,'
      'DT_ISReadOnly=:DT_ISReadOnly,'
      'DT_LookupParams=:DT_LookupParams,'
      'DT_ColWidth=:DT_ColWidth,'
      'DT_ISLookupShow=:DT_ISLookupShow,'
      'DT_ISFindCondition=:DT_ISFindCondition,'
      'DT_Top=:DT_Top,'
      'DT_Left=:DT_Left,'
      'DT_Shadow=:DT_Shadow,'
      'DT_Fixed=:DT_Fixed,'
      'DT_FooterType=:DT_FooterType,'
      'DT_Print=:DT_Print,'
      'DT_FindShow=:DT_FindShow,'
      'DT_OnlyFind=:DT_OnlyFind,'
      'DT_GroupBy=:DT_GroupBy,'
      'DT_CalcExpressShow=:DT_CalcExpressShow,'
      'DT_CalcExpress=:DT_CalcExpress,'
      'DT_DefValue=:DT_DefValue,'
      'DT_FixCtrl=:DT_FixCtrl,'
      'DT_FindColumnShow=:DT_FindColumnShow,'
      'DT_BillReportShow=:DT_BillReportShow,'
      'DT_BillReportOrder=:DT_BillReportOrder,'
      'DT_FilterFix=:DT_FilterFix,'
      'DT_FilterType=:DT_FilterType,'
      'DT_FilterValue=:DT_FilterValue'
      
        ' where DT_EditFormID=:OLD_DT_EditFormID and DT_LayoutID=:OLD_DT_' +
        'LayoutID and DT_FieldType=:OLD_DT_FieldType and DT_FieldName=:OL' +
        'D_DT_FieldName')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynamiceditformdtl')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 344
    Top = 292
    object qryDetailDT_EditFormID: TIntegerField
      FieldName = 'DT_EditFormID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object qryDetailDT_LayoutID: TIntegerField
      FieldName = 'DT_LayoutID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object qryDetailDT_Index: TIntegerField
      FieldName = 'DT_Index'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_Order: TIntegerField
      DisplayLabel = #24207#21495
      FieldName = 'DT_Order'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_FieldType: TIntegerField
      DisplayLabel = #23383#27573#31867#22411
      FieldName = 'DT_FieldType'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      OnGetText = qryDetailDT_FieldTypeGetText
      OnSetText = qryDetailDT_FieldTypeSetText
    end
    object qryDetailDT_FieldName: TStringField
      FieldName = 'DT_FieldName'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Size = 50
    end
    object qryDetailDT_FieldCaption: TWideStringField
      DisplayLabel = #26631#39064
      FieldName = 'DT_FieldCaption'
      ProviderFlags = [pfInUpdate]
      OnChange = qryDetailDT_FieldCaptionChange
    end
    object qryDetailDT_DataType: TStringField
      DisplayLabel = #25968#25454#31867#22411
      FieldName = 'DT_DataType'
      ProviderFlags = [pfInUpdate]
      OnChange = qryDetailDT_DataTypeChange
      OnGetText = qryDetailDT_DataTypeGetText
      OnSetText = qryDetailDT_DataTypeSetText
      Size = 2
    end
    object qryDetailDT_ISShow: TBooleanField
      DisplayLabel = #26174#31034
      FieldName = 'DT_ISShow'
      ProviderFlags = [pfInUpdate]
      OnChange = qryDetailDT_ISShowChange
    end
    object qryDetailDT_ISNotNULL: TBooleanField
      DisplayLabel = #38750#31354
      FieldName = 'DT_ISNotNULL'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_ISFullCol: TBooleanField
      DisplayLabel = #25972#34892
      FieldName = 'DT_ISFullCol'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_LookupID: TStringField
      DisplayLabel = #20851#32852#25968#25454
      FieldName = 'DT_LookupID'
      ProviderFlags = [pfInUpdate]
      OnChange = qryDetailDT_LookupIDChange
      Size = 30
    end
    object qryDetailDT_InputType: TIntegerField
      DisplayLabel = #36755#20837#31867#22411
      FieldName = 'DT_InputType'
      ProviderFlags = [pfInUpdate]
      OnGetText = qryDetailDT_InputTypeGetText
      OnSetText = qryDetailDT_InputTypeSetText
    end
    object qryDetailCREATETIME: TDateTimeField
      FieldName = 'CREATETIME'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_ISReadOnly: TBooleanField
      DisplayLabel = #21482#35835
      FieldName = 'DT_ISReadOnly'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_LookupParams: TStringField
      DisplayLabel = #20851#32852#25968#25454#21442#25968
      FieldName = 'DT_LookupParams'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object qryDetailDT_ColWidth: TIntegerField
      DisplayLabel = #23485
      FieldName = 'DT_ColWidth'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_ISLookupShow: TBooleanField
      FieldName = 'DT_ISLookupShow'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_ISFindCondition: TBooleanField
      FieldName = 'DT_ISFindCondition'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_Top: TIntegerField
      FieldName = 'DT_Top'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_Left: TIntegerField
      FieldName = 'DT_Left'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_Shadow: TBooleanField
      DisplayLabel = #38452#24433
      FieldName = 'DT_Shadow'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_MustShow: TBooleanField
      FieldName = 'DT_MustShow'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_MustNotNull: TBooleanField
      FieldName = 'DT_MustNotNull'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_Fixed: TBooleanField
      DisplayLabel = #22266#23450#21015
      FieldName = 'DT_Fixed'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_FooterType: TWordField
      DisplayLabel = #21512#35745#31867#22411
      FieldName = 'DT_FooterType'
      ProviderFlags = [pfInUpdate]
      OnGetText = qryDetailDT_FooterTypeGetText
      OnSetText = qryDetailDT_FooterTypeSetText
    end
    object qryDetailDT_Print: TBooleanField
      DisplayLabel = #25171#21360
      FieldName = 'DT_Print'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_FindShow: TBooleanField
      DisplayLabel = #26597#25214
      FieldName = 'DT_FindShow'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_GroupBy: TBooleanField
      DisplayLabel = #20998#32452
      FieldName = 'DT_GroupBy'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_OnlyFind: TBooleanField
      FieldName = 'DT_OnlyFind'
      ProviderFlags = [pfInUpdate]
    end
    object qryDetailDT_CalcExpress: TStringField
      FieldName = 'DT_CalcExpress'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object qryDetailDT_CalcExpressShow: TStringField
      DisplayLabel = #35745#31639#20844#24335
      FieldName = 'DT_CalcExpressShow'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object qryDetailDT_DefValue: TStringField
      DisplayLabel = #40664#35748#20540
      FieldName = 'DT_DefValue'
      ProviderFlags = [pfInUpdate]
      OnChange = qryDetailDT_DefValueChange
      Size = 200
    end
    object qryDetailDT_FixCtrl: TSmallintField
      DisplayLabel = #36755#20837#25511#21046
      FieldName = 'DT_FixCtrl'
      OnGetText = qryDetailDT_FixCtrlGetText
      OnSetText = qryDetailDT_FixCtrlSetText
    end
    object qryDetailDT_FindColumnShow: TBooleanField
      DisplayLabel = #26597#35810#26174#31034
      FieldName = 'DT_FindColumnShow'
    end
    object qryDetailDT_BillReportShow: TBooleanField
      DisplayLabel = #25253#34920#26174#31034
      FieldName = 'DT_BillReportShow'
    end
    object qryDetailDT_BillReportOrder: TIntegerField
      DisplayLabel = #25253#34920#24207#21495
      FieldName = 'DT_BillReportOrder'
    end
    object qryDetailDT_FilterFix: TBooleanField
      DisplayLabel = #22266#23450#26597#35810
      FieldName = 'DT_FilterFix'
    end
    object qryDetailDT_FilterType: TWordField
      DisplayLabel = #26597#35810#31867#22411
      FieldName = 'DT_FilterType'
      OnGetText = qryDetailDT_FilterTypeGetText
      OnSetText = qryDetailDT_FilterTypeSetText
    end
    object qryDetailDT_FilterValue: TStringField
      DisplayLabel = #26597#35810#40664#35748#20540
      FieldName = 'DT_FilterValue'
      Size = 200
    end
  end
  object qryDynUser: TUniQuery
    SQLInsert.Strings = (
      'Insert into TS_DYNUSER(editformid,'
      'layoutid,'
      'userid'
      ')'
      'Values'
      '(:editformid,'
      ':layoutid,'
      ':userid)')
    SQLDelete.Strings = (
      
        'Delete from TS_DYNUSER where editformid=:OLD_editformid and layo' +
        'utid=:OLD_layoutid and userid=:OLD_userid')
    SQLUpdate.Strings = (
      'Update TS_DYNUSER set '
      'editformid=:editformid,'
      'layoutid=:layoutid,'
      'userid=:userid'
      
        ' where editformid=:OLD_editformid and layoutid=:OLD_layoutid and' +
        ' userid=:OLD_userid')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynuser')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    BeforePost = qryDynUserBeforePost
    OnNewRecord = qryDynUserNewRecord
    Left = 468
    Top = 339
    object qryDynUsereditformid: TIntegerField
      FieldName = 'editformid'
    end
    object qryDynUserlayoutid: TIntegerField
      FieldName = 'layoutid'
    end
    object qryDynUseruserid: TIntegerField
      DisplayLabel = #25805#20316#21592
      FieldName = 'userid'
    end
  end
  object dsDetail: TDataSource
    DataSet = qryDetail
    Left = 388
    Top = 311
  end
  object dsDynUser: TDataSource
    DataSet = qryDynUser
    Left = 544
    Top = 351
  end
  object dsLookupDataSet: TDataSource
    DataSet = qryLookupDataSet
    Left = 420
    Top = 119
  end
  object qryLookupDataSet: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from v_lookupdataset')
    CachedUpdates = True
    Left = 356
    Top = 87
    object qryLookupDataSetkeyfield: TStringField
      FieldName = 'keyfield'
      Size = 30
    end
    object qryLookupDataSetkind: TWideStringField
      FieldName = 'kind'
      Size = 30
    end
    object qryLookupDataSetshowfield: TStringField
      FieldName = 'showfield'
      Size = 50
    end
    object qryLookupDataSetkname: TWideStringField
      FieldName = 'kname'
      Size = 50
    end
  end
  object qryLookupParam: TUniQuery
    CachedUpdates = True
    Left = 356
    Top = 183
  end
  object dsLookupParam: TDataSource
    DataSet = qryLookupParam
    Left = 416
    Top = 203
  end
  object qryDynUserGroup: TUniQuery
    SQLInsert.Strings = (
      'Insert into TS_DYNUSERgroup(editformid,'
      'layoutid,'
      'groupid,'
      'reportgroupid'
      ')'
      'Values'
      '(:editformid,'
      ':layoutid,'
      ':groupid,'
      ':reportgroupid)')
    SQLDelete.Strings = (
      
        'Delete from TS_DYNUSERGroup where editformid=:OLD_editformid and' +
        ' layoutid=:OLD_layoutid and groupid=:OLD_groupid')
    SQLUpdate.Strings = (
      'Update TS_DYNUSERGroup set '
      'editformid=:editformid,'
      'layoutid=:layoutid,'
      'groupidd=:groupid,'
      'reportgroupid=:reportgroupid'
      
        ' where editformid=:OLD_editformid and layoutid=:OLD_layoutid and' +
        ' groupid=:OLD_groupid')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynusergroup')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    BeforePost = qryDynUserGroupBeforePost
    OnNewRecord = qryDynUserGroupNewRecord
    Left = 660
    Top = 171
  end
  object dsDynUserGroup: TDataSource
    DataSet = qryDynUserGroup
    Left = 736
    Top = 183
  end
end
